class CourseObject
  include DataMapper::Resource
  storage_names[:default] = "CourseObject"
  
  property :id,                 Serial
  property :course_id,          Integer,       :required => true
  property :object_category_id, Integer,       :required => true
  timestamps :at

  belongs_to :course
  belongs_to :object_category
end
